﻿#include "MCUCodec_SetInterval_TurnTableState.h"

#include "MCUCodec.h"

MCUCodec_SetInterval_TurnTableState::MCUCodec_SetInterval_TurnTableState()
{
  setObjectName(getClassNameFirstLow<MCUCodec_SetInterval_TurnTableState>());
}

MCUCodec_SetInterval_TurnTableState::~MCUCodec_SetInterval_TurnTableState()
{

}

void MCUCodec_SetInterval_TurnTableState::decode(QByteArray data)
{
  (void)data;
}

MCUCodec* MCUCodec_SetInterval_TurnTableState::getMCUCodec()const
{
  return mCUCodec;
}

MCUCodec_SetInterval_TurnTableState* MCUCodec_SetInterval_TurnTableState::setMCUCodec(MCUCodec*const mCUCodec)
{
  this->mCUCodec=mCUCodec;
  mCUCodec->addToCodecMap(MCUCodec_SetInterval_TurnTableState::SetInterval_TurnTableState,this);
  printInjection(this,mCUCodec);
  return this;
}

void MCUCodec_SetInterval_TurnTableState::objectAutoInjection(QHash<QString,QObject*>* objMap)
{
  setMCUCodec(getObjFromMap<MCUCodec>(objMap));
}
